package com.opensourceedge.phonebook.cli;

public class ExitCommand implements Command {

	final String COMMAND="exit";
	public static String helpText;
	
	@Override
	public void execute() {
		System.exit(0);
	}

	@Override
	public String getCommandHelpText() {
		helpText="'"+COMMAND+"' to Exit.";
		return helpText;
	}

	@Override
	public String getCommandCode() {
		return COMMAND;
	}

}
